Cleantalk\ApbctWP\Firewall\SFWUpdateHelper C

Total Complexity 124
Dependencies 9
Dependents 12
Total lines 571
Lines of code 384
Logical lines of code 260
Comment lines 89
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
directUpdate()
C
32 27 97
prepareUpdDir()
B
42 21 46
removeAndRenameSfwTables()
A
47 12 39
checkTablesIntegrityBeforeRenaming()
A
49 12 32
removeUpdFolder()
A
50 12 26
processCK()
A
46 9 38
getDirectionUrlsOfType()
A
50 8 29
checkTablesIntegrityAfterRenaming()
A
56 8 19
processFile()
S
54 6 21
processUA()
S
64 3 10
fallback()
S
62 2 11
updateIsFrozen()
S
73 2 4
updateIsInProgress()
S
74 1 4
cleanData()
S
65 1 8